package team.ttorder.ttorder.service;

import java.util.List;

import team.ttorder.ttorder.javabean.PageBean;
import team.ttorder.ttorder.model.Food;
import team.ttorder.ttorder.model.FoodType;

public interface IFoodService {

	public PageBean<Food> getAllFood(int pageNum, int pageSize);

	public void updateFood(Food food);
	
	public void addFood(Food food);
	
	public void deleteFoodById(Integer id);

	public List<FoodType> getAllFoodType();

	public Food getFoodById(Integer id);

	public FoodType getFoodTypeById(Integer id);

	public String addFoodType(FoodType foodType);

	public void deleteFoodTypeById(Integer id);

	public String updateFoodType(FoodType foodType);

	public List<Food> getAllFoods();
}
